#include <istream>

#include "../include/deck.h"
#include "../include/card.h"

namespace mtga {

	Deck::Deck(std::string name) {
		std::cout << "Creating Deck " << name << " (" << this << ")" << std::endl;
		this->name = name;
	}

	Deck::~Deck() {
		std::cout << "Releasing Deck " << name << " (" << this << ")" << std::endl;
	}

	void Deck::addCard(Card* card, int count) {
		if (card == 0) {
			throw -1;
		}
		cards[card] = count;
	}

}
